package architect.algorithn;

/**
 * 产品实体类
 *
 * @author guanxin
 * @date 2018/5/8 14:45
 */

public class Product {
    // 产品ID
    private int productId;
    // 产品名称
    private String productName;
    // 打分
    private float score;

    Product(int productId, String productName, float score) {
        this.productId = productId;
        this.productName = productName;
        this.score = score;
    }

    public int getProductId() {
        return productId;
    }

    public void setProductId(int productId) {
        this.productId = productId;
    }

    public String getProductName() {
        return productName;
    }

    public void setProductName(String productName) {
        this.productName = productName;
    }

    public float getScore() {
        return score;
    }

    public void setScore(float score) {
        this.score = score;
    }
}
